home *** CD-ROM | disk | FTP | other *** search
- Simple Install
- Copyright LRC Computing, 1994-1995 All Rights Reserved
-
- Included in this file:
- 1. Legal Stuff
- 2. Shareware Stuff
- 3. You ARE Important
- 4. Instructions for use
- 5. Tutorial
-
-
- 1. Legal Stuff:
-
- I wrote it, I'll support it, but I will not be liable for any damages
- arising from the use or the inability to use this software. This is a
- shareware product. Try it and if it does not meet your requirements,
- delete it. If you do have problems, contact me and I'll do my best to
- resolve the problem.
-
- The registered version may reside at only one site per license. A
- site is defined as a single business at a single phsical location.
- Two different companies cannot use the same license regardless of
- location. The software may be installed on as many PCs or on a LAN as
- needed, at a single site.
-
-
- 2. Shareware Stuff:
-
- As stated above, this is a shareware product. You may try out this program
- for 30 days. If at the end of that time you decide to continue using it,
- see the register.doc file. You may not distribute software to your users
- with an unregistered version of this software.
-
-
- 3. You ARE Important:
-
- This software is written for you. If you don't like something, would like
- something enhanced, or would like to see something added; PLEASE contact me.
- If I don't meet your needs you won't use my software. If you tell me your
- needs maybe I can meet them. I would like to hear from registered AND
- unregistered users.
-
- If you would like to see this software in a language other than english
- and are willing to do the translation, I will give you a free registered
- version of the software.
-
-
- 4. Instructions For Use:
-
- Simple Install is a script driven install program. You don't need to
- learn a new language to use it. There are 9 line identifiers, 3
- variables and 2 executables. You do not need to use any of the
- variables but you must use 7 of the 9 line identifiers. The script
- file is positional. All text starts at row 1, column 1 (0,0 for the
- C programmers out there). Line identifiers MUST be in the order
- below (See the 3 sample files; simpins1.dat, simpins2.dat and
- simpins3.dat). The variables are for use on the closing screen. One
- of the executables is for compressing your files, the other is the
- install program itself.
-
- The line identifiers are listed below with a brief explanation:
-
- title= Title to be displayed on the screen
- Centered, can be blank
- text= Line 1 of descriptive text to be displayed on the screen
- Centered, can be blank
- text= Line 2 of descriptive text to be displayed on the screen
- Centered, can be blank
- default= Default installation directory
- files= Number of files total to be extracted, instructs install.exe
- as to how many times the following 2 line identifiers will be
- iterated
-
- The next 2 line identifiers can be repeated as many times
- as necessary (the number of times to be repeated is derived
- from the above line identifier).
- file= File name to be decompressed
- disk= Disk number, this will increase sequentially for each disk
- If other than file 1 and it resides on the same disk as the
- file above it, use a zero or the same disk number as the file
- above it
-
- The following 2 line identifiers are mutually exclusive.
- If you include endtext= you may NOT include runcommand=.
- Both are optional.
- endtext= Optional. This line identifier designates the start of
- text to be displayed on the closing screen
- Immediately after the = sign you need to put the number of
- lines of text to be displayed, up to 20
- On the lines below, type in the closing text exactly as you
- want it to be displayed
- Text will begin display on line 3, lines are 1 based
- No formatting will be done
-
- runcommand= Optional. This line identifier identifies a command to be run
- as the very last thing before the program exits to DOS. It
- can be any valid DOS command (dir, mem, chkdsk) or any program.
- If it is a program, the program must either be in the DOS path,
- in the current sub-directory, it must include a path as part of
- the file name, or it must exist in one of the compressed files.
- The screen will be cleared BEFORE the command is run.
-
-
- The variables are listed below with a brief explanation:
-
- &output& This is what you use to display the output path
- |outdrive| This is what you use to display the output drive
- ;outdir; This is what you use to display the output sub-directory
-
- The executables are listed below with a brief explanation:
-
- simpcom.exe File compressor and archiver
- install.exe Install program
-
-
- Tutorial:
-
- The datafiles for this tutorial are in a file called tutorial.sim and a
- file called tutorial.dat.
- Follow the following steps to prepare the tutorial for use.
-
- a. Copy tutorial.sim to an empty sub-directory.
- b. Copy tutorial.dat into the same sub-directory.
- c. Rename tutorial.dat to install.dat.
- d. Copy install.exe to this sub-directory.
- e. Type install and press enter.
- f. Press enter again.
- You should now have the files and data structures for the tutorial.
-
- Let's say you are a programmer and you have an application called
- 'WIDGET TRACKER' (how original, eh). This application contains the
- following files and structures:
-
- widget.exe
-
- data\widget.dbf
- data\help.dbf
- data\help.dbt
-
- docs\user.doc
- docs\register.doc
- docs\read.me
-
- First you need to compress your files.
-
- To do this change to the sub-directory containing 'widget.exe' and type:
- simpcom widget.exe data1.lib --Press return
- simpcom data\*.dbf;data\*.dbt data2.lib --Press return
- simpcom docs\*.doc;docs\read.me data3.lib --Press return
-
- You now have your archives.
- After compressing you realize data2.lib and data3.lib can both fit
- on the same floppy.
-
-
- Now you fire up your favorite text editor and create an install.dat
- script file. (see simpins2.dat)
-
- title=WIDGET Tracker
- text=This program will install WIDGET Tracker on your hard drive.
- text=Thank you for using this program.
- default=C:\widget
- files=03
- file=data1.lib
- disk=1
- file=data2.lib
- disk=2
- file=data3.lib
- disk=0
- endtext=09
- The WIDGET Tracker
-
- WIDGET Tracker was installed at: &output&
-
- To run WIDGET Tracker, type
-
- |outdrive|
- CD ;outdir;
- WIDGET
-
-
- In place of the endtext you could have entered:
-
- runcommand=myconfig.exe
-
- This would have run myconfig.exe as long as it is a valid DOS command (dir,
- mem, chkdsk) or any program. If it is a program, the program must either be
- in the DOS path, in the current sub-directory, it must include a path as part
- of the file name, or it must exist in one of the compressed files. (see
- simpins3.dat)
-
- Or, you might not include endtext= or runcommand= and after installation the
- program will clear the screen and exit to DOS. (see simpins1.dat)
-
- Now to create your disks.
- Copy install.exe, install.dat, data1.lib, and read.me (the user may want
- to read this on the disk before installation) to a floppy.
- Copy data2.lib and data3.lib to another floppy.
-
- That's it, you've just created your distribution floppies. As the calls
- roll in you can duplicate your masters and impress your users.
-
-
-